$(document).ready(function(){
	temp = setInterval(slider,4000);
	function slider(){
		if ($('a #inner_slider div:last-child').hasClass('show')){
			$('.show').fadeOut(800,function(){
				$('.show').removeClass('show');
				$('a #inner_slider').children('div:first-child').addClass('show');
			});
			$('.show').fadeIn(800);
		}
		else{
			$('.show').fadeOut(800,function(){
				$('.show').removeClass('show').next('div').addClass('show');
			});
			$('.show').fadeIn(800);
		}
	}
});